package com.xxx.networkdisksystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author George
 * @since 2023-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Customeraccounts对象", description="")
public class Customeraccounts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "用户昵称")
    @TableField("Name")
    private String name;

    @ApiModelProperty(value = "账号")
    @TableField("User")
    private String user;

    @ApiModelProperty(value = "密码")
    @TableField("Password")
    private String password;

    @ApiModelProperty(value = "性别")
    @TableField("Sex")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    @TableField("Age")
    private Integer age;

    @ApiModelProperty(value = "手机号码")
    @TableField("Phome")
    private String phome;

    @ApiModelProperty(value = "身份证号码")
    @TableField("IdentificationNumber")
    private String identificationnumber;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "gmtCreation", fill = FieldFill.INSERT)
    private Date gmtcreation;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "gmtModified", fill = FieldFill.INSERT_UPDATE)
    private Date gmtmodified;

    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer version;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;


}
